package com.icw.decoupling.defi.expand;

import java.util.Map;

import com.icw.utility.IcwUtils;

public interface TimerJob {

	default String getName() {
		return IcwUtils.toUnderScoreCase(this.getClass().getSimpleName());
	};

	String getCron();

	default Boolean getIfRunning() {
		return false;
	};

	void execute(Map<String, Object> dataOut) throws Exception;
}
